package com.example.kotlintest.chat;

/**
 * @author linzi
 * @date 2022-9-28
 */
public class MsgEntity {

    public final static int MSG_TYPE_TXT=0x0001;
    public final static int MSG_TYPE_IMG=MSG_TYPE_TXT+1;
    public final static int MSG_TYPE_AUDIO=MSG_TYPE_IMG+1;

    private int msgType;
    private String msgOwer;
    private String receiver;
    private String content;
    private String sendTime;

    public MsgEntity(int msgType, String msgOwer, String receiver, String content, String sendTime) {
        this.msgType = msgType;
        this.msgOwer = msgOwer;
        this.receiver = receiver;
        this.content = content;
        this.sendTime = sendTime;
    }

    public int getMsgType() {
        return msgType;
    }

    public String getMsgOwer() {
        return msgOwer;
    }

    public String getReceiver() {
        return receiver;
    }

    public String getContent() {
        return content;
    }

    public String getSendTime() {
        return sendTime;
    }
}
